<?php
/**
 * Created by PhpStorm.
 * User: krystal
 * Date: 2019/5/31
 * Time: 10:32
 */

use app\common\cachemodel\AppConfig;

$subs = (new AppConfig())->configInfo('subs');

return [
    'mobile_regist' => true, // 是否开启手机号注册 true手机号可以注册 false手机号不能注册
    'switch' => 0,// 0为三方支付 1为苹果支付,开启苹果审核 2为准币支付,苹果审核被拒
    'app-type' => 'ios',
    'version' => '1.9.8',
    'rec_goods' => [
        0 => [
            'id' => 1,
            'name' => '校准生辰',
            'or_prize' => '50',
            'now_prize' => '50'
        ]
    ],
    'fortune_day_goods' => [
        0 => [
            'id' => 2,
            'name' => '当天日运',
            'or_prize' => '1',
            'now_prize' => '1',
            'discount' => 0,
            'expire_time' => '+1days',
            'goods_des' => ''
        ],
        1 => [
            'id' => 3,
            'name' => '月度日运',
            'or_prize' => '30',
            'now_prize' => '30',
            'discount' => 0,
            'expire_time' => '+1months',
            'goods_des' => ''
        ],
        2 => [
            'id' => 4,
            'name' => '季度日运',
            'or_prize' => '78',
            'now_prize' => '78',
            'discount' => 0,
            'expire_time' => '+3months',
            'goods_des' => ''
        ],
        3 => [
            'id' => 5,
            'name' => '半年日运',
            'or_prize' => '128',
            'now_prize' => '128',
            'discount' => 0,
            'expire_time' => '+6months',
            'goods_des' => ''
        ],
        4 => [
            'id' => 6,
            'name' => '年度日运',
            'or_prize' => '168',
            'now_prize' => '168',
            'discount' => 0,
            'expire_time' => '+1years',
            'goods_des' => ''
        ],
    ],
    'fortune_month_goods' => [
        0 => [
            'id' => 20,
            'name' => '一个月月运',
            'or_prize' => '18',
            'now_prize' => '18',
            'discount' => 0,
            'expire_time' => '+1months',
            'goods_des' => ''
        ],
        1 => [
            'id' => 21,
            'name' => '三个月月运',
            'or_prize' => '50',
            'now_prize' => '50',
            'discount' => 0,
            'expire_time' => '+3months',
            'goods_des' => ''
        ],
        2 => [
            'id' => 22,
            'name' => '半年运势',
            'or_prize' => '68',
            'now_prize' => '68',
            'discount' => 0,
            'expire_time' => '+6months',
            'goods_des' => ''
        ],
        3 => [
            'id' => 23,
            'name' => '一年运势',
            'or_prize' => '98',
            'now_prize' => '98',
            'discount' => 0,
            'expire_time' => '+1years',
            'goods_des' => ''
        ],
    ],
    'fortune_year_goods' => [
        0 => [
            'id' => 24,
            'name' => '一年年运',
            'or_prize' => '98',
            'now_prize' => '98',
            'discount' => 0,
            'expire_time' => '+1years',
            'goods_des' => '原价98元'
        ],
        1 => [
            'id' => 25,
            'name' => '三年年运',
            'or_prize' => '198',
            'now_prize' => '198',
            'discount' => 0,
            'expire_time' => '+3years',
            'goods_des' => '原价198元'
        ],
        2 => [
            'id' => 26,
            'name' => '五年年运',
            'or_prize' => '298',
            'now_prize' => '298',
            'discount' => 0,
            'expire_time' => '+5years',
            'goods_des' => '原价298元'
        ],
        3 => [
            'id' => 27,
            'name' => '十年年运',
            'or_prize' => '388',
            'now_prize' => '388',
            'discount' => 0,
            'expire_time' => '+10years',
            'goods_des' => '原价388元'
        ],
    ],
    'fortune_goods' => [
        0 => [
            'id' => 2,
            'name' => '当天运势',
            'or_prize' => '1',
            'now_prize' => '1',
            'discount' => 0,
            'expire_time' => '+1days',
            'goods_des' => ''
        ],
        1 => [
            'id' => 3,
            'name' => '月度运势',
            'or_prize' => '30',
            'now_prize' => '30',
            'discount' => 0,
            'expire_time' => '+1months',
            'goods_des' => ''
        ],
        2 => [
            'id' => 4,
            'name' => '季度运势',
            'or_prize' => '78',
            'now_prize' => '78',
            'discount' => 0,
            'expire_time' => '+3months',
            'goods_des' => ''
        ],
        3 => [
            'id' => 5,
            'name' => '半年运势',
            'or_prize' => '128',
            'now_prize' => '128',
            'discount' => 0,
            'expire_time' => '+6months',
            'goods_des' => ''
        ],
        4 => [
            'id' => 6,
            'name' => '年度运势',
            'or_prize' => '168',
            'now_prize' => '168',
            'discount' => 0,
            'expire_time' => '+1years',
            'goods_des' => ''
        ],
        5 => [
            'id' => 20,
            'name' => '一个月月运',
            'or_prize' => '18',
            'now_prize' => '18',
            'discount' => 0,
            'expire_time' => '+1months',
            'goods_des' => ''
        ],
        6 => [
            'id' => 21,
            'name' => '三个月月运',
            'or_prize' => '50',
            'now_prize' => '50',
            'discount' => 0,
            'expire_time' => '+3months',
            'goods_des' => ''
        ],
        7 => [
            'id' => 22,
            'name' => '半年运势',
            'or_prize' => '68',
            'now_prize' => '68',
            'discount' => 0,
            'expire_time' => '+6months',
            'goods_des' => ''
        ],
        8 => [
            'id' => 23,
            'name' => '一年运势',
            'or_prize' => '98',
            'now_prize' => '98',
            'discount' => 0,
            'expire_time' => '+1years',
            'goods_des' => ''
        ],
        9 => [
            'id' => 24,
            'name' => '一年年运',
            'or_prize' => '98',
            'now_prize' => '98',
            'discount' => 0,
            'expire_time' => '+1years',
            'goods_des' => '原价98元'
        ],
        10 => [
            'id' => 25,
            'name' => '三年年运',
            'or_prize' => '198',
            'now_prize' => '198',
            'discount' => 0,
            'expire_time' => '+3years',
            'goods_des' => '原价198元'
        ],
        11 => [
            'id' => 26,
            'name' => '五年年运',
            'or_prize' => '298',
            'now_prize' => '298',
            'discount' => 0,
            'expire_time' => '+5years',
            'goods_des' => '原价298元'
        ],
        12 => [
            'id' => 27,
            'name' => '十年年运',
            'or_prize' => '398',
            'now_prize' => '398',
            'discount' => 0,
            'expire_time' => '+10years',
            'goods_des' => '原价398元'
        ],
    ],
    'acg_goods' => [
        0 => [
            'id' => 7,
            'name' => '成就线',
            'or_prize' => '30',
            'now_prize' => '30',
            'discount' => 0,
        ],
        1 => [
            'id' => 8,
            'name' => '安居线',
            'or_prize' => '18',
            'now_prize' => '18',
            'discount' => 0,
        ],
        2 => [
            'id' => 9,
            'name' => '智慧线',
            'or_prize' => '18',
            'now_prize' => '18',
            'discount' => 0,
        ],
        3 => [
            'id' => 10,
            'name' => '桃花线',
            'or_prize' => '40',
            'now_prize' => '40',
            'discount' => 0,
        ],
        4 => [
            'id' => 11,
            'name' => '激情线',
            'or_prize' => '8',
            'now_prize' => '8',
            'discount' => 0,
        ],
        5 => [
            'id' => 12,
            'name' => '幸运线',
            'or_prize' => '40',
            'now_prize' => '40',
            'discount' => 0,
        ],
        6 => [
            'id' => 13,
            'name' => '成长线',
            'or_prize' => '8',
            'now_prize' => '8',
            'discount' => 0,
        ],
        7 => [
            'id' => 14,
            'name' => '变革线',
            'or_prize' => '8',
            'now_prize' => '8',
            'discount' => 0,
        ],
        8 => [
            'id' => 15,
            'name' => '梦想线',
            'or_prize' => '8',
            'now_prize' => '8',
            'discount' => 0,
        ],
        9 => [
            'id' => 16,
            'name' => '生死线',
            'or_prize' => '18',
            'now_prize' => '18',
            'discount' => 0,
        ],
        10 => [
            'id' => 17,
            'name' => '宿命线',
            'or_prize' => '18',
            'now_prize' => '18',
            'discount' => 0,
        ],
        11 => [
            'id' => 18,
            'name' => '命运之城',
            'or_prize' => '40',
            'now_prize' => '40',
            'discount' => 0,
        ],
        12 => [
            'id' => 19,
            'name' => '幸运之城',
            'or_prize' => '98',
            'now_prize' => '98',
            'discount' => 0,
        ],
    ],
    'video_goods' => [
        0 => [
            'id' => 28,
            'name' => '初级课程',
            'or_prize' => '98',
            'now_prize' => '98',
            'discount' => 0,
        ],
        1 => [
            'id' => 29,
            'name' => '中级课程',
            'or_prize' => '98',
            'now_prize' => '98',
            'discount' => 0,
        ],
        2 => [
            'id' => 30,
            'name' => '高级课程',
            'or_prize' => '98',
            'now_prize' => '98',
            'discount' => 0,
        ],
    ],
    'natal_report_goods' => [
        0 => [
            'id' => 39,
            'name' => '恋爱格局预测报告',
            'or_prize' => '78',
            'now_prize' => '78',
        ],
        1 => [
            'id' => 40,
            'name' => '婚姻格局预测报告',
            'or_prize' => '78',
            'now_prize' => '78',
        ],
        2 => [
            'id' => 41,
            'name' => '财富格局预测报告',
            'or_prize' => '78',
            'now_prize' => '78',
        ],
        3 => [
            'id' => 42,
            'name' => '事业格局预测报告',
            'or_prize' => '78',
            'now_prize' => '78',
        ],
        4 => [
            'id' => 52,
            'name' => '事业格局预测报告',
            'or_prize' => '78',
            'now_prize' => '78',
        ],
    ],
    'vip_goods' => [
        1 => [
            'id' => 35,
            'name' => '一个月',
            'or_prize' => '18',
            'now_prize' => '18',
        ],
        2 => [
            'id' => 36,
            'name' => '三个月',
            'or_prize' => '45',
            'now_prize' => '45',
        ],
        3 => [
            'id' => 37,
            'name' => '六个月',
            'or_prize' => '78',
            'now_prize' => '78',
        ],
        4 => [
            'id' => 38,
            'name' => '十二个月',
            'or_prize' => '118',
            'now_prize' => '118',
        ],
    ],
    'coin_goods' => [
        0 => [
            'gid' => 44,
            'num' => 10,
            'price' => '1.00',
        ],
        1 => [
            'gid' => 45,
            'num' => 60,
            'price' => '6.00',
        ],
        2 => [
            'gid' => 46,
            'num' => 300,
            'price' => '30.00',
        ],
        3 => [
            'gid' => 47,
            'num' => 600,
            'price' => '60.00',
        ],
        4 => [
            'gid' => 48,
            'num' => 1080,
            'price' => '108.00',
        ],
        5 => [
            'gid' => 49,
            'num' => 1980,
            'price' => '198.00',
        ],
        6 => [
            'gid' => 50,
            'num' => 2980,
            'price' => '298.00',
        ],
        7 => [
            'gid' => 51,
            'num' => 9980,
            'price' => '998.00',
        ],
    ],


    // vip商品
    'ios_vip_goods' => [
        //版本2.9.8开始之后的苹果商品信息
        20106 => [
            'id' => 20106,
            'sort' => 2,
            'status' => 1,
            'type' => 8,
            'name' => '连续包月',
            'or_prize' => 19.9,
            'now_prize' => 19.9,
            'expire_time' => $subs['apple_month'],
            'extend' => '{"ios_goods_des": "￥26元"}'
        ],
        20105 => [
            'id' => 20105,
            'sort' => 1,
            'status' => 1,
            'type' => 8,
            'name' => '连续包年',
            'or_prize' => 149,
            'now_prize' => 149,
            'expire_time' => $subs['apple_year'],
            'extend' => '{"ios_goods_des": "￥175元"}'
        ],
        20100 => [
            'id' => 20100,
            'sort' => 0,
            'status' => 1,
            'type' => 8,
            'name' => '一个月',
            'or_prize' => 26,
            'now_prize' => 26,
            'expire_time' => '+1months',
            'extend' => ''
        ],
        20101 => [
            'id' => 20101,
            'sort' => 0,
            'status' => 1,
            'type' => 8,
            'name' => '三个月',
            'or_prize' => 65,
            'now_prize' => 65,
            'expire_time' => '+3months',
            'extend' => '{"ios_goods_des": "￥22元/月"}'
        ],
        20102 => [
            'id' => 20102,
            'sort' => 0,
            'status' => 1,
            'type' => 8,
            'name' => '六个月',
            'or_prize' => 117,
            'now_prize' => 117,
            'expire_time' => '+6months',
            'extend' => '{"ios_goods_des": "￥20元/月"}'
        ],
        20103 => [
            'id' => 20103,
            'sort' => 0,
            'status' => 1,
            'type' => 8,
            'name' => '十二个月',
            'or_prize' => 175,
            'now_prize' => 175,
            'expire_time' => '+12months',
            'extend' => '{"ios_goods_des": "超值15元/月"}'
        ],
        //版本2.10.5开始之后的苹果商品信息
        20112 => [
            'id' => 20112,
            'sort' => 2,
            'status' => 1,
            'type' => 8,
            'name' => '连续包月',
            'or_prize' => 49,
            'now_prize' => 39,
            'expire_time' => $subs['apple_month'],
            'extend' => '{"ios_goods_des": "￥49元"}'
        ],
        20111 => [
            'id' => 20111,
            'sort' => 1,
            'status' => 1,
            'type' => 8,
            'name' => '连续包年',
            'or_prize' => 588,
            'now_prize' => 299,
            'expire_time' => $subs['apple_year'],
            'extend' => '{"ios_goods_des": "￥588元"}'
        ],
        20107 => [
            'id' => 20107,
            'sort' => 0,
            'status' => 1,
            'type' => 8,
            'name' => '一个月',
            'or_prize' => 59,
            'now_prize' => 49,
            'expire_time' => '+1months',
            'extend' => '{"ios_goods_des": "￥59元"}'
        ],
        20108 => [
            'id' => 20108,
            'sort' => 0,
            'status' => 1,
            'type' => 8,
            'name' => '三个月',
            'or_prize' => 177,
            'now_prize' => 119,
            'expire_time' => '+3months',
            'extend' => '{"ios_goods_des": "￥177元"}'
        ],
        20109 => [
            'id' => 20109,
            'sort' => 0,
            'status' => 1,
            'type' => 8,
            'name' => '六个月',
            'or_prize' => 354,
            'now_prize' => 219,
            'expire_time' => '+6months',
            'extend' => '{"ios_goods_des": "￥354元"}'
        ],
        20110 => [
            'id' => 20110,
            'sort' => 0,
            'status' => 1,
            'type' => 8,
            'name' => '十二个月',
            'or_prize' => 708,
            'now_prize' => 399,
            'expire_time' => '+12months',
            'extend' => '{"ios_goods_des": "￥708元"}'
        ],
    ],
    'fortune_month' => [
        20 => [
            'skuId' => 'apple_pay_20',
            'name' => '一个月运势',
            'price' => '22.8',
            'des' => ''
        ],
        21 => [
            'skuId' => 'apple_pay_21',
            'name' => '三个月运势',
            'price' => '58.8',
            'des' => ''
        ],
        22 => [
            'skuId' => 'apple_pay_22',
            'name' => '六个月运势',
            'price' => '82',
            'des' => ''
        ],
        23 => [
            'skuId' => 'apple_pay_23',
            'name' => '十二个月运势',
            'price' => '118',
            'des' => ''
        ],
    ],
    'fortune_year' => [
        24 => [
            'skuId' => 'apple_pay_24',
            'name' => '一年运势',
            'price' => '118',
            'des' => ''
        ],
        25 => [
            'skuId' => 'apple_pay_25',
            'name' => '三年运势',
            'price' => '238',
            'des' => ''
        ],
        26 => [
            'skuId' => 'apple_pay_26',
            'name' => '五年运势',
            'price' => '358',
            'des' => ''
        ],
        27 => [
            'skuId' => 'apple_pay_27',
            'name' => '十年运势',
            'price' => '598',
            'des' => ''
        ],
    ],
    'natal_report' => [
        39 => [
            'skuId' => 'apple_pay_39',
            'name' => '恋爱格局预测报告',
            'price' => '238',
            'des' => ''
        ],
        40 => [
            'skuId' => 'apple_pay_40',
            'name' => '婚姻格局预测报告',
            'price' => '238',
            'des' => ''
        ],
        41 => [
            'skuId' => 'apple_pay_41',
            'name' => '财富格局预测报告',
            'price' => '238',
            'des' => ''
        ],
        42 => [
            'skuId' => 'apple_pay_42',
            'name' => '事业格局预测报告',
            'price' => '238',
            'des' => ''
        ],
        52 => [
            'skuId' => 'apple_pay_52',
            'name' => '学业格局预测报告',
            'price' => '238',
            'des' => ''
        ],
    ],
];
